package com.qfedu.role.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qfedu.role.dto.RoleDto;
import com.qfedu.role.dto.StateDto;
import com.qfedu.role.pojo.Role;

import javax.servlet.http.HttpSession;

public interface RoleService extends IService<Role> {

    Page<Role> getRoles(RoleDto roleDto);

    Boolean changeRoleState(StateDto stateDto);

    boolean save(Role role);


}
